package com.uum.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.uum.admin.pojo.vo.OperationVO;
import com.uum.common.core.entity.SysOperationLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysOperationLogMapper extends BaseMapper<SysOperationLog> {

    List<OperationVO> page(IPage<OperationVO> page,@Param(Constants.WRAPPER) QueryWrapper wrapper);

    List<Map<String, Object>> getPVByWeek(@Param("startTime") String startTime,@Param("endTime") String endTime);
}
